home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / amiga20 / clib / macros.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-11  |  391 b   |  20 lines

  1. #ifndef CLIB_MACROS_H
  2. #define CLIB_MACROS_H
  3. /*
  4. **    $Filename: clib/macros.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 30.156 $
  7. **    $Date: 1995/01/11 05:18:14 $
  8. **
  9. **    C prototypes
  10. **
  11. **    (C) Copyright 1990 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. #define MAX(a,b)    ((a)>(b)?(a):(b))
  16. #define MIN(a,b)    ((a)<(b)?(a):(b))
  17. #define ABS(x)        ((x<0)?(-(x)):(x))
  18.  
  19. #endif    /* CLIB_MACROS_H */
  20.